import request from '@/utils/request'

// 查询技师提现申请列表
export function listTechnicianPayoutDetail(query) {
  return request({
    url: '/technicianPayoutDetail/technicianPayoutDetail/list',
    method: 'get',
    params: query
  })
}

// 查询技师提现申请详细
export function getTechnicianPayoutDetail(id) {
  return request({
    url: '/technicianPayoutDetail/technicianPayoutDetail/' + id,
    method: 'get'
  })
}

// 新增技师提现申请
export function addTechnicianPayoutDetail(data) {
  return request({
    url: '/technicianPayoutDetail/technicianPayoutDetail',
    method: 'post',
    data: data
  })
}

// 修改技师提现申请
export function updateTechnicianPayoutDetail(data) {
  return request({
    url: '/technicianPayoutDetail/technicianPayoutDetail',
    method: 'put',
    data: data
  })
}

// 删除技师提现申请
export function delTechnicianPayoutDetail(id) {
  return request({
    url: '/technicianPayoutDetail/technicianPayoutDetail/' + id,
    method: 'delete'
  })
}
